package com.xyy.saas.payment.cores.enums;

/**
 * @Author: wuqiongda
 * @Date: 2019/11/21 13:38
 */
public enum ResultCodeEnum {

    /**
     * 成功
     */
    SUCCESS("1000", "success",  "成功"),
    /**
     * 默认错误
     */
    DEFAULT_ERROR("2000", "default_error",  "【系统错误(2000)】"),
    /**
     * 系统繁忙
     */
    SYSTEM_BUSY_ERROR("2001", "system_busy",  "【系统繁忙】"),
    /**
     * APP ID 不可用
     */
    APP_UNAVAILABLE("2002", "app_unavailable",  "APP ID 不可用"),
    /**
     * 系统权限不足
     */
    SYSTEM_NOT_ALLOW("2003", "system_not_allow",  "系统权限不足"),
    /**
     * 渠道未创建对应用户
     */
    CHANNEL_UNAVAILABLE("2004", "app_unavailable",  "渠道未创建对应用户"),
    /**
     * 请求已被处理
     */
    REQUEST_PROCESSED("2005", "request_processed",  "请求已被处理"),
    /**
     * 加密失败
     */
    ENCRYPT_ERROR("2006", "encrypt_error",  "加密失败"),
    /**
     * 解密失败
     */
    DECRYPT_ERROR("2007", "decrypt_error",  "解密失败"),

    ACCOUNT_CHANNEL_ERROR("2008", "account_channel_error", "账号渠道错误"),

    PAY_MODE_ERROR("2009", "pay_mode_error", "支付方式错误"),

    CREATE_ACCOUNT_ERROR("2010", "insert_account_table_error", "创建账号失败"),
    /**
     * 认证失败
     */
    LOGIN_ERROR("2011", "login_error", "登录认证失败！"),
    /**
     * 不支持的方法
     */
    UN_SUPPORT_METHOD("2012", "un_support_method", "不支持的方法"),
    /**
     * 数据库异常
     */
    DATABASE_ERROR("2013", "database_error", "数据库异常"),
    /**
     * 富民系统异常
     */
    FBANK_SYSTEM_ERROR("2014", "fbank_system_error",  "富民系统异常"),
    /**
     * 易宝系统异常
     */
    YOP_SYSTEM_ERROR("2015", "yop_system_error",  "易宝系统异常"),
    /**
     * 易宝系统异常
     */
    PINGAN_SYSTEM_ERROR("2016", "pingan_system_error",  "平安系统异常"),
    PINGAN_IGNORE_ERROR("2017", "pingan_ignore_error",  "可以忽略的异常"),

    EXECUTE_WITH_RETRY_ERROR("2018", "execute_with_retry_error", "重试异常"),

    //----------------------------------------------------------

    /**
     * 参数错误
     */
    PARAM_ERROR("3001", "param_error",  "【参数错误(3001)】"),
    /**
     * 签名错误
     */
    SIGN_ERROR("3002", "sign_error",  "【系统错误(3002)】"),
    /**
     * 订单不存在
     */
    TRADE_NOT_EXIT_ERROR("3003", "trade_not_exit_error",  "订单不存在"),
    /**
     * 订单可退金额不足
     */
    REFUND_MONEY_NOT_ENOUGH("3004", "refund_amount_not_enough",  "订单可退金额不足"),
    /**
     * 订单可退佣金不足
     */
    REFUND_COMMISSION_NOT_ENOUGH("3005", "refund_commission_not_enough",  "订单可退佣金不足"),
    /**
     * 参数内回调地址不合法
     */
    CALLBACK_URL_UN_LEGAL("3006", "call_back_url_un_legal",  "参数内回调地址不合法"),
    /**
     * 用户不存在,或未初始化
     */
    USER_NOT_FOUND("3007", "user_not_found",  "用户不存在"),
    /**
     * 订单未支付
     */
    ORDER_NOT_PAID_ERROR("3008", "order_not_paid_error",  "订单未支付"),
    /**
     * 订单已结算或已开始结算
     */
    ORDER_SETTLED_ERROR("3009", "order_settled_error",  "订单已结算或已开始结算"),
    /**
     * 用户余额不足
     */
    USER_BALANCE_NOT_ENOUGH("3010", "user_balance_not_enough",  "用户余额不足"),
    /**
     * 提现已到次数或由于其他原因无法提现
     */
    USER_CANNOT_WITHDRAW("3011", "user_cannot_withdraw",  "提现已到次数或由于其他原因无法提现"),
    /**
     * 订单可退分润不足
     */
    ORDER_REFUND_ROYALTY_NOT_ENOUGH("3012", "order_refund_royalty_not_enough",  "订单可退分润不足"),
    /**
     * 订单可分润金额不足
     */
    ORDER_ROYALTY_AMOUNT_NOT_ENOUGH("3013", "order_royalty_amount_not_enough",  "订单可分润金额不足"),
    /**
     * 订单暂时不能退款
     */
    ORDER_CANNOT_REFUND_TEMPORARY("3014", "order_cannot_refund_temporary",  "订单暂时不能退款"),
    /**
     * 用户已经存在，请勿重复创建
     */
    ACCOUNT_IS_EXIST("3015", "accountId_is_already_exist",  "用户已经存在，请勿重复创建"),
    /**
     * 订单已经支付，请勿重复支付
     */
    ORDER_ALREADY_PAY("3016", "order_is_already_pay",  "您的订单已支付完成，请勿重新支付"),
    /**
     * 订单操作中
     */
    ORDER_IN_PROCESS("3017", "order_in_process",  "您的订单正在处理中, 请稍后"),
    /**
     * 订单金额 错误
     */
    ORDER_AMOUNT_ERROR("3018", "order_amount_error",  "您的金额有误, 请查证后再进行"),
    /**
     * 订单过期
     */
    ORDER_TIME_EXPIRE("3019", "order_is_time_expire",  "您的订单已超时，请重新支付"),
    /**
     * 收银台业务配置支付渠道异常
     */
    CASHIER_PAY_CHANNEL_ERROR("3020", "cashier_pay_channel_error", "暂时不支持您选的支付机构，请重新选择"),

    PARAM_SUBJECT_ERROR("3021", "param_subject_or_body_error", "参数错误"),

    PARAM_AMOUNT_ERROR("3022", "param_amount_error", "金额错误"),

    ORDER_CANNOT_REFUND("3023", "order_cannot_refund", "订单已超过退款期限"),

    ORDER_NOT_CLEARING("3024","order_not_clearing","订单未清分"),

    ORDER_REFUND_NOT_FINISH("3025", "order_refund_not_finish", "订单退款不是最终状态"),
    /**
     * 第三方用户不存在
     */
    THIRD_USER_ID_NOT_EXIST("3026", "third_user_id_not_exist", "第三方账户不存在"),

    ORDER_CLOSED_ERROR("3027", "order_closed_error", "订单关闭失败"),

    ORDER_CLOSED_CHANNNEL_ERROR("3028", "order_closed_channel_error", "订单渠道无法关闭"),

    ORDER_ALREADY_CLOSED("3029", "order_already_closed", "订单已经关闭"),

    ORDER_NOT_EXIST("3030", "order_not_exist", "订单号不存在，请查证后再进行"),

    ORDER_STATUS_NOT_MATCH("3036", "订单状态不支持该操作", "订单状态不支持该操作"),
    BUSINESS_ID_TYPE_IS_NULL("3037", "产品线不能为空", "产品线不能为空"),
    /**
     * 订单创建失败
     */
    ORDER_CREATE_FAIL("3038", "order_create_fail",  "订单在渠道侧创建失败，请稍后重新支付"),
    ORDER_AMOUNT_ERROR_REFUND_NOT_ALLOWED("3039", "order_amount_error",  "正向订单金额有误，暂不允许退款, 请联系运营人员"),
    ORDER_CLEARING_REFUNDED("3040","order_clearing_refunded","清分订单已撤销，不允许再次撤销"),

    /**
     * 订单已经支付，无法关闭
     */
    ORDER_ALREADY_PAY_NO_CLOSED("3031", "order_is_already_pay_no_closed",  "您的订单已支付完成，无法关闭"),

    ORDER_ALREADY_CLOSED_PROCCESSING("3032", "order_already_closed_processing", "请勿重复发起订单关闭"),
    // ----------------------------------------------------
    /**
     * 签约信息不存在
     */
    ENTRUST_NOT_EXIT_ERROR("3033", "trade_not_exit_error",  "签约信息不存在"),
    /**
     * 订单流水过长
     */
    TRADE_NO_VERY_LONG_ERROR("3034", "trade_no_very_long_error",  "订单号过长"),
    TRADE_ORDER_IS_NULL("3035", "单号不能为空",  "单号不能为空"),

    /**
     * 提现
     */
    WITHDRAW_IN("3040", "", "提现中，请勿重复操作"),
    WITHDRAW_SUCCEED("3042", "", "提现已完成，请勿重复操作"),
    /**
     * 提现 重复创建
     */
    WITHDRAW_ORDER_CREAT_REPEAT("3041", "", "提现记录已创建，请勿重复操作"),

    /**
     * 交易单处理失败
     */
    CALLBACK_ERROR("4000", "callback_error",  "交易单处理失败"),
    /**
     * 第三方接口连接异常
     */
    CHANNEL_CONNECT_ERROR("4001", "channel_connect_error",  "【系统错误(4001)】"),
    /**
     * 第三方接口需要的参数缺失
     */
    THIRD_PARAM_ERROR("4002", "missing_parameters",  "【系统错误(4002)】"),
    /**
     * 当日在途金额不足
     */
    CHANNEL_TODAY_MONEY_NOT_ENOUGH("4003", "channel_today_money_not_enough",  ""),
    /**
     * 用户上传图片过大
     */
    PIC_LARGE_ERROR("4004", "pic_too_large",  "【图片过大，请按图片建议尺寸上传】"),

    /**
     * 验证码过期
     */
    ACTIVE_CODE_ERROR("4005", "【验证码过期】",  "【验证码过期】"),
     /**
     * 用户上传图片过大
     */
    PIC_UPLOAD_ERROR("4006", "pic_upload_error",  "【图片上传失败】"),
    /**
     * 验证码为空
     */
    ACTIVE_CODE_IS_NULL_ERROR("4007", "验证码不能为空",  "验证码不能为空"),

    NOT_SUPPORT("4010", "操作不支持", "操作不支持"),

    // ----------------------------------------------------


    /**
     * 结算用户列表为空
     */
    SETTLE_ACCOUNT_LIST("5000", "settle_account_list_zero",  "结算用户列表为空"),

    USER_INFO_DECRYPT_ERROR("5050", "USER_INFO_DECRYPT_ERROR", "用户信息解密异常"),


    // ----------------------------------------------------


    /**
     * 获取userId错误
     */
    GET_USER_ID_ERROR("6000", "can_not_get_user_id",  "获取userId错误"),
    /**
     * 获取第三方结算账号错误
     */
    GET_THIRD_SETTLE_ERROR("6001", "can_not_get_settle_id",  "获取第三方结算账号错误"),
    /**
     * 获取用户状态错误
     */
    GET_USER_STATE_ERROR("6002", "can_not_find_user_state", "获取用户状态错误"),
    /**
     * 图片格式错误
     */
    PIC_FORMAT_ERROR("7001", "pic_format_error", "图片格式错误"),
    /**
     * 防止重复点击
     */
    NOT_CONTINUOUS_CLICK("7002", "continuous_click", "【请勿重复操作】"),
    /**
     * 商户入驻请按顺序执行
     */
    PLEASE_FOLLOW_ORDER("7003", "please_follow_order", "【系统繁忙，请稍候再试】"),
    /**
     * 商户已经入驻，请勿重复申请
     */
    MERCHANT_ALREADY_EXIT("7004", "merchant_already_exit", "【商户已经入驻，请勿重复申请】"),

    UNIONPAY_CONFIG_NOT_EXITS("8001", "unionpay_config_not_exits", "银联配置没有找到"),

    WXPAY_SETTING_NOT_EXITS("8001", "wxpay_setting_not_exits", "微信支付配置不存在"),

    //------------------进件------------------
    APPLY_PAY_OPEN_ACCOUNT_FIRST("8001", "APPLY_PAY_OPEN_ACCOUNT_FIRST", "【请先开户完成后，再进行报件】"),
    APPLY_PAY_ALREADY_OPEN("8002", "APPLY_PAY_ALREADY_OPEN", "【报件已开通，请勿重复操作】"),
    CARD_TYPE_ERROR("8003", "CARD_TYPE_ERRPR", "【不支持的证件类型】"),
    PROFIT_SHARING_PROCESSING("8101", "PROFIR_SHARING_PROCESSING", "结算处理中，请勿重复请求"),
    PROFIT_SHARING_SUCCESS("8102", "PROFIR_SHARING_SUCCESS", "结算已完成，请勿重复请求"),
    ACCOUNT_MODIFY_AUDITING("8103", "ACCOUNT_MODIFY_AUDITING", "该商户已有审核中的申请，请等待审核后再提交"),
    ACCOUNT_MODIFY_PROCESSING("8101", "ACCOUNT_MODIFY_PROCESSING", "申请处理中，请勿重复请求"),

    //------------------平安开户&绑卡&打款认证------------------
    REGISTER_ACCOUNT_FAIL("8201", "REGISTER_ACCOUNT_FAIL", "注册账户失败"),
    BANK_CARD_AUDIT_FAIL("8301", "BANK_CARD_AUDIT_FAIL", "银行卡审核失败"),
    BANK_CARD_BIND_FAIL("8401", "BANK_CARD_BIND_FAIL", "绑卡失败"),
    BANK_CARD_APPLY_NOT_FOUNT("8402", "APPLY_BANK_CARD_NOT_FOUNT", "认证申请单未查询到"),
    BANK_CARD_APPLY_STATUS_NOT_PASS("8403", "BANK_CARD_APPLY_STATUS_NOT_PASS", "认证申请单状态非打款认证"),

    BANK_CARD_AUTH_FAIL("8501", "BANK_CARD_AUTH_FAIL", "打款认证失败，请重试"),

    REFUND_BUSY("8601", "退款频繁，请1分钟后重试", "退款频繁，请1分钟后重试"),
    REFUND_WITHDRAWAL_IS_NOT_ALLOWED("8602", "REFUND_WITHDRAWAL_IS_NOT_ALLOWED", "退款中，暂不允许提现，请稍后重试"),
    PROFITSHARING_BUSY("8603", "分润繁忙，稍后重试", "分润繁忙，稍后重试"),

    //------------------平安信用支付特有------------------
    PINGAN_PAY_FINANCE_APPLY_NOT_SINGLE("8701", "用户不存在已签约的贷款申请或存在多个已签约的贷款申请", "用户不存在已签约的贷款申请或存在多个已签约的贷款申请"),
    PINGAN_CREDIT_PAY_NOT_COMPLETE("8702", "信用支付没有完成整个资金流，不满足已清算、已分账给买家、已会员间交易给卖家", "信用支付没有完成整个资金流"),
    PINGAN_CREDIT_PAY_REFUND_NOT_COMPLETE("8703", "信用支付退款没有完成整个资金流，不满足已清算、已分账给买家、已会员间交易给卖家", "信用支付退款没有完成整个资金流"),

    //------------------开支付功能------------------
    OPEN_PAY_ALREADY_OPEN("9001", "OPEN_PAY_ALREADY_OPEN", "【功能已开通，请勿重复操作】"),

    /**
     * 商户已经入驻，请勿重复申请
     */
    ACCOUNT_CREATE_PARAM_ERROR("7005", "account_create_param_error", "【账户姓名和结算卡开户名称不一致】"),

    /**
     * 地址填写错误
     */
    ADDRESS_ERROR("7006", "address_error", "地址请填写完整的 省/市/区/县 地址"),

    /**
     * 地址填写错误
     */
    OPEN_BANK_ERROR("7007", "open_bank_error", "开户行有误"),
    /**
     * 地址填写错误
     */
    SUB_BANK_ERROR("7007", "sub_bank_error", "开户支行有误"),

    /**
     * 结算/分润
     */
    PROFIT_SHARING_PAY_AMOUNT_ERROR("9001", "PROFIT_SHARING_PAY_AMOUNT_ERRPR", "实付金额不等于支付金额+退款金额"),
    PROFIT_SHARING_SETTLE_AMOUNT_ERROR("9002", "PROFIT_SHARING_SETTLE_AMOUNT_ERRPR", "结算金额不等于实付金额加+平台补贴-佣金"),
    PROFIT_SHARING_SETTLE_BALANCE_FROZEN("9003", "PROFIT_SHARING_SETTLE_BALANCE_FROZEN", "商家账户冻结金额小于解冻金额"),
    PROFIT_SHARING_SETTLE_BALANCE_UNFROZEN("9004", "PROFIT_SHARING_SETTLE_BALANCE_UNFROZEN", "冻结账单金额小于解冻金额"),
    PROFIT_SHARING_SETTLE_BALANCE_PLATFORM("9005", "PROFIT_SHARING_SETTLE_BALANCE_PLATFORM", "平台账户金额不足"),
    PROFIT_SHARING_SETTLE_BALANCE_PLATFORM_DISCOUNT("9006", "PROFIT_SHARING_SETTLE_BALANCE_PLATFORM_DISCOUNT", "平台补贴账户金额不足"),
    PROFIT_SHARING_SETTLE_BALANCE_BROKERAGE("9007", "PROFIT_SHARING_SETTLE_BALANCE_BROKERAGE", "佣金账户金额不足"),
    PROFIT_SHARING_REPEAT_REQUEST("9008", "PROFIT_SHARING_REPEAT_REQUEST", "处理中，请勿重复请求"),
    PROFIT_SHARING_WITHDRAWAL_IS_NOT_ALLOWED("9009", "PROFIT_SHARING_WITHDRAWAL_IS_NOT_ALLOWED", "结算/退款中，暂不允许提现，请稍后重试"),
    PROFIT_SHARING_SETTLE_BALANCE_PAY_AMOUNT_ERROR("9010", "PROFIT_SHARING_SETTLE_BALANCE_PAY_AMOUNT_ERROR", "订单支付金额不等于购物金支付+现金支付"),
    PROFIT_SHARING_SETTLE_BALANCE_PAY_AMOUNT_LOW("9011", "PROFIT_SHARING_SETTLE_BALANCE_PAY_AMOUNT_LOW", "购物金账户余额不足"),
    PROFIT_SHARING_SETTLE_CONTAIN_NOT_CLEARING_ORDER("9012", "PROFIT_SHARING_SETTLE_CONTAIN_NOT_CLEARING_ORDER", "结算单包含银行未清分订单，暂不允许结算"),
    PROFIT_SHARING_SETTLE_NOT_SUPPORT_CHANNEL("9013", "PROFIT_SHARING_SETTLE_NOT_SUPPORT_CHANNEL", "订单包含不支持的结算渠道"),
    PROFIT_SHARING_SETTLE_NOT_MATCH_REFUND_AMOUNT("9014", "PROFIT_SHARING_SETTLE_NOT_MATCH_REFUND_AMOUNT", "订单退款金额不等于垫资金额"),
    PROFIT_SHARING_PAYMENTAUTH_IS_NOT_ALLOWED("9015", "PROFIT_SHARING_WITHDRAWAL_IS_NOT_ALLOWED", "结算/退款中，暂不允许打款认证，请稍后重试"),

    /**
     * 转账
     */
    SEPARATE_ORDER_SUCCESS_REPEAT_REQUEST("9400","SEPARATE_ORDER_SUCCESS_REPEAT_REQUEST","转账中，请勿重复提交"),
    SEPARATE_ORDER_REPEAT_REQUEST_IN_SEPARATE("9401","SEPARATE_ORDER_REPEAT_REQUEST_IN_SEPARATE","转账成功，请勿重复提交"),
    SUMMARY_ACCOUNT_BALANCE_NOT_ENOUGH("9601", "SUMMARY_ACCOUNT_BALANCE_NOT_ENOUGH", "平安挂账户余额不足，暂不允许换签"),

    /**
     * 冻结
     */
    FROZEN_SETTLEMENT_ERROR("9500", "FROZEN_SETTLEMENT_ERROR", "冻结账单失败"),
    FROZEN_SETTLEMENT_ERROR_WITHDRAWAL_IS_NOT_ALLOWED("9501", "FROZEN_SETTLEMENT_ERROR_WITHDRAWAL_IS_NOT_ALLOWED", "冻结账单失败，暂不允许提现"),
    FROZEN_NOTEXIST("9502", "FROZEN_NOTEXIST", "冻结记录不存在"),

    /**
     * 京东绑卡、支付、退款
     */
    JD_CONTRACT_SUCC("9702", "CARD_HASBEEN_BIND", "此卡已经被绑定，请勿重复绑卡"),
    JD_CONTRACT_NOTEXIST("9704", "CARD_BIND_NOTEXIST", "绑卡信息不存在，请确认后重试"),
    JD_CONTRACT_IDNO_ERROR("9705", "JD_CONTRACT_IDNO_ERROR", "绑卡身份信息与实名信息不符，请确认后重试"),

    JD_BUSY_ONE_KEY_APPLY("9710", "ONE_KEY_SIGN_APPLY_BUSY", "一键签约服务繁忙，请稍后重试"),
    JD_BUSY_SIGN_RESULT("9711", "SIGN_RESULT_BUSY", "签约结果查询服务繁忙，请稍后重试"),
    JD_BUSY_CONTRACT_SIGN("9712", "CONTRACT_SIGN_BUSY", "协议签约服务繁忙，请稍后重试"),
    JD_BUSY_CONFIRM_SIGN("9713", "CONFIRM_SIGN_BUSY", "协议确认服务繁忙，请稍后重试"),
    JD_BUSY_CONTRACT_CANCEL("9714", "CONTRACT_CANCEL_BUSY", "协议解约服务繁忙，请稍后重试"),
    JD_BUSY_CARD_BIN("9715", "CARD_BIN_BUSY", "渠道卡信息查询服务繁忙，请稍后重试"),

    JD_CARD_BIN("9720", "CARD_BIN_QUERY_ERROR", "渠道卡信息查询失败"),

    JD_REFUND_ERROR("9731", "JD_REFUND_ERROR", "退款失败，订单已关闭"),
    JD_PAY_ERROR("9732", "JD_PAY_ERROR", "支付失败，订单已关闭"),

    SEPARATEORDER_FINISH_IDEMPOTENT("9800", "SEPARATEORDER_FINISH_IDEMPOTENT",  "转账已完成，勿重复操作"),

    /**
     * 通用重复请求
     */
    REPEAT_REQUEST("9901", "REPEAT_REQUEST", "处理中，请勿重复请求"),
    FM_CHANNEL_CLOSED("9902", "FM_CHANNEL_CLOSED", "富民通道已关闭，请联系运营人员"),
    WX_DERICT_CHANNEL_CLOSED("9903", "WX_DERICT_CHANNEL_CLOSED", "微信直连通道已关闭，请联系运营人员"),
    ORDER_NONE_SETTLE("9904", "ORDER_NONE_SETTLE", "订单未清算暂无法退款"),
    PROFIT_SHARING_SETTLE_NOT_MATCH_REFUND("9015", "PROFIT_SHARING_SETTLE_NOT_MATCH_REFUND", "订单分账金额≠(支付金额-已退款金额)"),


    /**
     * 农行e贷
     */
    ABCHINA_REQUEST_ERROR("9101", "ABCHINA_REQERROR", "农行请求异常，请重试"),
    ABCHINA_RESPONSE_ERROR("9102", "ABCHINA_REQERROR", "农行相应结果值异常"),

    ABCHINA_LOAN_PREAPPLY_ERROR("9103", "ABCHINA_LOAN_PREAPPLY_ERROR", "农行贷预申请异常"),
    ABCHINA_ORDERCHECK_RESPONSE_NULL("9104", "ABCHINA_ORDERCHECK_RESPONSE_NULL", "订单支付资质核验失败"),
    ABCHINA_ORDERCHECK_RESULT_UNKNOWN("9105", "ABCHINA_ORDERCHECK_RESULT_UNKNOWN", "订单支付资质核验失败"),
    ABCHINA_ORDERCHECK_RESULT_UNPASS("9106", "ABCHINA_ORDERCHECK_RESULT_UNPASS", "订单支付资质核验不通过"),
    ABCHINA_ORDERCHANGENOTIFY_RESPONSE_NULL("9107", "ABCHINA_ORDERCHANGENOTIFY_RESPONSE_NULL", "订单变动通知，农行返回结果为空"),
    ABCHINA_ORDERCHANGENOTIFY_RESULT_FAIL("9108", "ABCHINA_ORDERCHANGENOTIFY_RESULT_FAIL", "订单变动通知，结果失败"),
    ABCHINA_QUERYORDERSTATUS_RESPONSE_NULL("9109", "ABCHINA_QUERYORDERSTATUS_RESPONSE_NULL", "订单状态查询，农行返回结果为空"),
    ABCHINA_QUERYORDERSTATUS_RESULT_UNKNOWN("9110", "ABCHINA_QUERYORDERSTATUS_RESULT_UNKNOWN", "订单状态查询，农行返回结果值错误"),

    // 订单支付资质核验结果
    ABCHINA_ORDERCHECK_CONTRACT_STATUS_INVALID("9111", "ABCHINA_ORDERCHECK_CONTRACT_STATUS_INVALID", "客户合约状态非正常或不存在贷款"),
    ABCHINA_ORDERCHECK_INSUFFICIENT_BALANCE("9112", "ABCHINA_ORDERCHECK_INSUFFICIENT_BALANCE", "贷款可用余额不足"),
    ABCHINA_ORDERCHECK_INVALID_PAYMENT_ACCOUNT("9113", "ABCHINA_ORDERCHECK_INVALID_PAYMENT_ACCOUNT", "受托支付账号有误"),
    ABCHINA_ORDERCHECK_UNPAID_ORDER_EXISTS("9114", "ABCHINA_ORDERCHECK_INVALID_PAYMENT_ACCOUNT", "存在未支付订单"),

    XYDLOAN_CLIENT_ERROR("9200", "XYDLOAN_REQUEST_ERROR", "小雨点client异常"),
    XYDLOAN_SIGN_VERIFY_FAIL("9201", "XYDLOAN_SIGN_VERIFY_FAIL", "小雨点验签失败"),
    XYDLOAN_RESPONSE_ERROR("9202", "XYDLOAN_RESPONSE_ERROR", "小雨点响应异常"),
    XYDLOAN_PUSH_ERROR("9203", "XYDLOAN_PUSH_ERROR", "小雨点贷中数据推送异常"),
    XYDLOAN_PAYER_ERROR("9204", "XYDLOAN_PAYER_ERROR", "未查询到预支付单详情客户信息"),

    ;


    private String code;
    private String msg;
    private String displayMsg;

    ResultCodeEnum(String code, String msg, String displayMsg) {
        this.code = code;
        this.msg = msg;
        this.displayMsg = displayMsg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    public String getDisplayMsg() {
        return displayMsg;
    }

    public void setDisplayMsg(String displayMsg) {
        this.displayMsg = displayMsg;
    }
}
